/*
 * Viewport.cpp
 *
 *  Created on: 2009/02/09
 *      Author: Yongshik Cho
 */

#include "Viewport.h"


Viewport::Viewport(const int32 width, const int32 height)
{
	mRect = Rect2D((float)width, (float)height);
}

Viewport::Viewport(const Rect2D& rect)
{
	mRect = rect;
}

Viewport::Viewport(const Viewport& vp)
{
	mRect = Rect2D(vp.getWidth(), vp.getHeight());
}

Viewport::~Viewport()
{
}
